package com.mzj.saas.jobs.EnterpriseData.repository;

import com.mzj.saas.jobs.EnterpriseData.entity.User;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.Collection;
import java.util.List;

public interface UserRepository extends PagingAndSortingRepository<User, String>, JpaSpecificationExecutor<User> {

	List<User> findByIdInAndType(Collection<String> ids, short type);

}
